package com.mocai.merchant.core.domain;

import javax.servlet.http.Cookie;

/**
 * 请求信息
 */
public class RequestInfo {
    // 请求方法
    private String method;
    // 上下文路径
    private String contextPath;
    // cookie信息
    private Cookie[] cookies;
    // 客户端IP
    private String remoteAddr;

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getContextPath() {
        return contextPath;
    }

    public void setContextPath(String contextPath) {
        this.contextPath = contextPath;
    }

    public Cookie[] getCookies() {
        return cookies;
    }

    public void setCookies(Cookie[] cookies) {
        this.cookies = cookies;
    }

    public String getRemoteAddr() {
        return remoteAddr;
    }

    public void setRemoteAddr(String remoteAddr) {
        this.remoteAddr = remoteAddr;
    }
}
